package com.qys.livesMall.shop.modal.vo.task.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qys.livesMall.shop.modal.vo.task.app.child.SellTaskGoodsChild;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class SellTaskDetailVo {

    @Schema(description = "任务名称（不超过36字符）")
    private String taskName;

    @Schema(description = "任务目标（不超过128字符）")
    private String taskGoal;

    @Schema(description = "任务描述（不超过128字符）")
    private String taskInfo;

    @Schema(description = "任务收益（平台结算）")
    private String taskBenefitType;

    @Schema(description = "控制修改按钮")
    private Boolean myFlag=false;

    @Schema(description = "任务时长（平台设定)")
    private String taskDuration;

    @Schema(description = "任务开始时间（当前时间之后）")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+0")
    private LocalDateTime taskStartTime;

    @Schema(description = "任务结束时间（开始时间之后）")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+0")
    private LocalDateTime taskEndTime;

    @Schema(description = "带货商品列表")
    private List<SellTaskGoodsChild> goodsChildList;

}
